library(survival)In this practical, …
Tip
The answers to each exercise are available as a collapsed code block. Try to work out the answer yourself before looking at this code block!
First we load a package
In this practical, we will also use the following two packages:
Non-coding questions
my goals
Conclusion
You learned ABC
Further reading
Read Chapter 9 of Pearls Causality (Pearl 2009)
References
Pearl, Judea, ed. 2009. “Causal Diagrams and the Identification of Causal Effects.” In Causality, 65–106. Cambridge: Cambridge University Press. https://doi.org/10.1017/CBO9780511803161.005.